package com.feng.pojo;

import com.feng.util.ObjectUtil;
import lombok.AllArgsConstructor;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Objects;

@Data
@AllArgsConstructor
public class Good {
    Integer id;
    String name;
    Integer tagId;
    BigDecimal price;
    String detail;
    String pictureAddress;
    Integer repertory;
    Integer storeId;
    Integer sellerId;

    @Override
    public boolean equals(Object o) {
        return ObjectUtil.isEquals(this,o);
    }


    public Good(){}
}
